//
//  TTDiamondInfoCellModel.h
//  TaoTuo
//
//  Created by apple on 2020/12/11.
//  Copyright © 2020 刘广. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum : NSUInteger {
    CornerTypeWithTop,
    CornerTypeWithBottom,
    CornerTypeWithAll,
} CornerType;

NS_ASSUME_NONNULL_BEGIN

@interface TTDiamondInfoCellModel : NSObject

@property (nonatomic, copy)  NSString *title;
/// 提示文字
@property (nonatomic, nullable, copy)  NSString * hintString;
/// 右侧文字
@property (nonatomic, nullable, copy)  NSString *rightString;
/// 右侧文字颜色
@property (nonatomic, nullable, strong) UIColor *rightTextColor;

@property (nonatomic, nullable, strong) id target;

@property (nonatomic, nullable, assign) SEL selector;
/// 圆角大小
@property (nonatomic, assign) CGFloat cornerRadius;
/// 圆角位置
@property (nonatomic, assign) CornerType cornerType;
/// 隐藏提示文字
@property (nonatomic, assign) BOOL hiddenHint;

+ (instancetype)setModelWithTitle:(NSString *)title hintString:(nullable NSString *)hintString rightString:(nullable NSString *)rightString;

+ (instancetype)setModelWithTitle:(NSString *)title hintString:(nullable NSString *)hintString rightString:(nullable NSString *)rightString target:(nullable id)target selector:(nullable SEL)selector;

/// 设置圆角
- (void)setCornerRadius:(CGFloat)cornerRadius cornerType:(CornerType)cornerType;


@end

NS_ASSUME_NONNULL_END
